package com.hxzy.shop.dto.commodity.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: cxy
 * @Date: 2022/9/5 17:39
 */
@Data
@ApiModel("合约添加优惠卷id")
public class AddCouponReq {

    @ApiModelProperty("优惠卷id")
    private Long couponId;

    @ApiModelProperty("优惠卷名称")
    private String couponName;

    @ApiModelProperty("优惠卷序号")
    private Integer sort;

    @ApiModelProperty("开始有效期")
    private Date startTime;

    @ApiModelProperty("结束有效期")
    private Date endTime;

    @ApiModelProperty(value = "有效期类型 1.限时有效 2.领取后X天有效")
    private Integer validityType;
    @ApiModelProperty(value = "有效期 天")
    private Integer validity;

    /**
     * 优惠券类型 1满减券  2 折扣券
     */
    @ApiModelProperty(value = "优惠券类型 1满减券  2 包邮券 ")
    private Integer couponType;
}
